-- GENERATED SPELL FOR [Cursed Justicar] --


function spell0_7072(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(15580,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7072', 559, 1)
end

function Sorts_7072(pUnit, Event)
local choix_sorts_7072 = math.random(0, 0)
if choix_sorts_7072 == 0 then
pUnit:RegisterEvent('spell0_7072', 1, 1)
end
end

function mob7072_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7072', math.random(1500, 3000), 1)
end

function mob7072_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7072_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7072_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7072, 1, 'mob7072_Action')
RegisterUnitEvent(7072, 2, 'mob7072_Leave')
RegisterUnitEvent(7072, 3, 'mob7072_Kill')
RegisterUnitEvent(7072, 4, 'mob7072_Die')
